package com.seal.yoyoshop.service;

import com.seal.yoyoshop.bin.Type;

import java.util.List;

public interface TypeService {
    List<Type> getTypeList();

    Type getTypeById(int id);

    boolean addType(Type type);

    boolean updateTypeByType(Type type);

    boolean deleteType(Type type);
}
